<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{news_title}</title>
</head>
<body>
    <!-- 模板文件 -->
    <header>标题：{news_title}</header>
    <h4>内容：</h4>
    <section>
        <div>
            {news_contents}
        </div>
    </section>
    <style>
        body {
            background: #9b27a3;
            color: #fff;
            padding: 20px;
        }

        header {
            font-size: 18px;
            text-align: center;
            font-weight: bold;
        }

        section {
            font-size: 14px;
            text-indent: 10px;
            padding: 10px 20px;
            min-height: 300px;
        }

        h4 {
            margin-top: 20px;
            margin-bottom: 10px;
        }
    </style>
</body>

</html>